package com.exonline.backstage.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Teacher {
    private String id;
    private String tname;
    private String workyears;
    private String direction;
    private String introduce;
    private String email;
    private String phone;
    private String password;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String rname;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String rid;
    private String registrationTime;
    private String lastLogin;
    private List<Map<String,Object>> pictureurl;
}
